#include "Shapes.h"
GLint Rect::getEdgeRight(){
    return (this->position.x) + (this->width/2.0);
}
GLint Rect::getEdgeLeft(){
    return (this->position.x) - (this->width/2.0);
}
GLint Rect::getEdgeButtom(){
    return (this->position.y) - (this->height/2.0);
}
GLint Rect::getEdgeTop(){
    return (this->position.y) + (this->height/2.0);
}
GLint Sphere::getEdgeLeft(){
	return (this->position.x)-(this->radius);
}
GLint Sphere::getEdgeRight(){
	return (this->position.x)+(this->radius);
}
GLint Sphere::getEdgeButtom(){
	return (this->position.y)-(this->radius);
}
GLint Sphere::getEdgeTop(){
	return (this->position.y)+(this->radius);
}